<template>
  <h-button text="警告按钮" type="warning" @btnClick="btnClick"/>
</template>

<script>
export default {
  name: 'App',
  methods: {
    btnClick (e) {
      console.log('e>>>', e);
    }
  },
  components: {
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
